package com.secxiot.provider.task.entity;

import java.io.Serializable;

public class TaskAttributeTemp implements Serializable {
    /**
     * 模板id
     */
    private Long tempId;

    /**
     * 模板名称
     */
    private String tempName;

    /**
     * 显示名称
     */
    private String displayName;

    /**
     * 模板类型，检查数据 ，字典
     */
    private String tempType;

    /**
     * 是否有效，0：无效 1：有效
     */
    private Integer valid;

    private static final long serialVersionUID = 1L;

    public Long getTempId() {
        return tempId;
    }

    public void setTempId(Long tempId) {
        this.tempId = tempId;
    }

    public String getTempName() {
        return tempName;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName == null ? null : tempName.trim();
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName == null ? null : displayName.trim();
    }

    public String getTempType() {
        return tempType;
    }

    public void setTempType(String tempType) {
        this.tempType = tempType == null ? null : tempType.trim();
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tempId=").append(tempId);
        sb.append(", tempName=").append(tempName);
        sb.append(", displayName=").append(displayName);
        sb.append(", tempType=").append(tempType);
        sb.append(", valid=").append(valid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}